
			<section class="wrapper">
				<!-- page start-->
				<section class="panel">
					<header class="panel-heading"> LOCATION MANAGEMENT CITY LIST : <spna class="text text-warning"><?= $this->admin_location_model->get_state_name($state_id);?></spna>   <span class="pull-right"><a href="<?= base_url();?>secure/location/location_management/addcity/<?= $state_id; ?>" type="button" class="btn btn-success btn-sm">Add New</a></span></header>
					<div class="panel-body">
						<table class="table table-striped table-advance table-hover">
							<thead>
								<tr>
									<th><i class="icon-bullhorn"></i> ID</th>
									<th class="hidden-phone"><i class="icon-bookmark"></i>
										City Name</th>
									<th class="col-sm-2"><i class=" icon-edit"></i> Action</th>
								</tr>
							</thead>
							<tbody>
							<?php if($city['list']){?>
			<?php foreach($city['list'] as $city):?>
								<tr>
									<th><?= $city->id;?></th>
									<td class="hidden-phone"><?= $city->cityname;?></td>
									
									<td>
										<a href="<?= base_url();?>secure/location/location_management/city_edit/<?= $city->id;?>/<?= $city->stateid;?>"  data-toggle="tooltip" title="Edit" onclick="return confirm('Are you sure ?');">
										<button class="btn btn-primary btn-xs">
											<i class="icon-pencil"></i>
										</button>
										</a>
										<a href="<?= base_url();?>secure/location/location_management/city_delete?city_id=<?= $city->id; ?>&state_id=<?= $city->stateid; ?>" <?php if($this->config->item('mode')=='DEMO'){?>
										onclick="alert ('Sorry! Not allowed in Demo mode '); return false;"
										<?} else?> onclick="return confirm('Are you sure ?');" data-toggle="tooltip" title="Delete" >
										<button class="btn btn-danger btn-xs">
											<i class="icon-trash "></i>
										</button>
										</a>
									</td>
								</tr>
								
								<?php endforeach;}
			else{
			echo "No Data found";
			}?>
								
										
							</tbody>
						</table>

					<!-- 	<div class="row"><div class="col-sm-6"></div><div class="col-sm-6"><div class="dataTables_paginate paging_bootstrap pagination"><ul><li class="prev disabled"><a href="#">← Prev</a></li><li class="active"><a href="#">1</a></li><li><a href="#">2</a></li><li><a href="#">3</a></li><li class="next"><a href="#">Next → </a></li></ul></div></div></div>
						 -->
					</div>
					<!-- End of Body Panel -->
				</section>
				<!-- page end-->
			</section>
	